var express = require('express');
var router = express.Router();
var dataCtrl = require('../controllers/cate.controller');




/* GET users listing. */
router.post('/data', dataCtrl.create);
router.put('/data/:id',dataCtrl.update);
router.get('/tree/:type',dataCtrl.tree);
module.exports = router;
